import { Live, LiveEntity, LiveModel } from './interface'

export const transLive = (mt: LiveEntity): LiveModel => {
	return {
		mcc: new Live(mt),
		live: {
			isGuest: !!mt.guest,
			userCookie: mt.user_token,
		},
		status: {
			isMatchSearch: true,
			isCalling: false,
		},
	}
}
